<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "{{%base_mark}}".
 *
 * @property int $id
 * @property string $mark
 */
class BaseHouseMarkModel extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%base_mark}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['mark'], 'string','max'=>50],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'mark' => 'String'
        ];
    }
}
